package com.ossjk.qlh.order.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ossjk.qlh.business.vo.SetmealVO;
import com.ossjk.qlh.order.entity.OrderTc;
import com.ossjk.qlh.order.entity.Orders;
import com.ossjk.qlh.order.mapper.OrdersMapper;
import com.ossjk.qlh.order.service.IOrdersService;
import com.ossjk.qlh.order.vo.*;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 订单服务实现类
 *
 * @author liuxi
 * @since 2020-08-14
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements IOrdersService {


    @Override
    public List<TcList> selectTcList(QueryWrapper<TcList> queryWrapper) {
        return baseMapper.selectTcList(queryWrapper);
    }

    @Override
    public List selectJdPrintOne(QueryWrapper<JdOrderVo> queryWrapper) {
        return baseMapper.selectJdPrintOne(queryWrapper);
    }

    @Override
    public Page selectLunchOrderVo(Page page, Integer type, String nowdate) {
        return baseMapper.selectLunchOrderVo(page, type, nowdate);
    }

    @Override
    public Page historyJdPrint(Page page, QueryWrapper<JdOrderVo> queryWrapper) {
        return baseMapper.historyJdPrint(page, queryWrapper);
    }


    @Override
    public List selectJdPrint(QueryWrapper<JdOrderVo> queryWrapper) {
        return baseMapper.selectJdPrint(queryWrapper);
    }


	   @Override
    public Page selectOrderHistory(Page page, QueryWrapper<historyVo> queryWrapper) {
        return baseMapper.selectOrderHistory(page,queryWrapper);
    }

    @Override
    public List<OrderTc> selectTcByEid(QueryWrapper<OrderTc> queryWrapper) {
        return baseMapper.selectTcByEid(queryWrapper);
    }

    @Override
    public Integer UpdateIds(Collection<? extends Serializable> ids) {
        return baseMapper.UpdateIds(ids);
    }

    @Override
    public List<countZc> countZC(QueryWrapper<countZc> queryWrapper) {
        return baseMapper.countZC(queryWrapper);
    }

    @Override
    public List<countFc> countFC(QueryWrapper<countFc> queryWrapper) {
        return baseMapper.countFC(queryWrapper);
    }

    @Override
    public List<countQc> countQC(QueryWrapper<countQc> queryWrapper) {
        return baseMapper.countQC(queryWrapper);
    }

    @Override
    public List<countZs> countZs(QueryWrapper<countZs> queryWrapper) {
        return baseMapper.countZs(queryWrapper);
    }

    @Override
    public List<countQt> countQt(QueryWrapper<countQt> queryWrapper) {
        return baseMapper.countQt(queryWrapper);
    }


}
